#ifndef __Mutexion__
#define __Mutexion__

#include <pthread.h>
#include <iostream> // 包含 Condition.h 头文件
#include <queue> // 添加 <queue> 头文件
using std::endl;
using std::cout;
class Mutexion
{
public:
    Mutexion();
    ~Mutexion();
    void lock();
    void trylock();
    void unlock();
    pthread_mutex_t *getMutex();

private:
    pthread_mutex_t _mutex;
};

#endif